package com.cjj.common.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author baozhuangyu
 * @date 2021/5/10  18:33
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class KeyValueRequest {

    @NotNull
    @ApiModelProperty(value = "id")
    private Integer id;

    @NotBlank
    @ApiModelProperty(value = "值")
    private String value;
}
